$paged, //「現在のページ番号」はここでも指定する 'posts_per_page' => 1, /* その他のプロパティの指定など... */ 'post_status'=>'publish', 'post_type' => 'news', ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); ?>

max_num_pages, $paged ,$url); //$wp_query ではなく $the_query ないことに注意! endif; wp_reset_postdata(); ?>